package cn.cloud.butler.uploadapi.repository;

import cn.cloud.butler.uploadapi.domain.*;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ProduceSumRepository extends JpaRepository<ProduceSumEntity,Long> {
    @Query(value="select * from ProduceSum where UploadTime = ?1 and MacSN = ?2 and ProduceName=?3",
            nativeQuery = true)
   ProduceSumEntity selExistProduceSum(String uploadtime,String macsn,String producename);


    }
